package com.cn.ali.controller;


import com.cn.ali.service.HelloService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/ceshi")
public class HelloController {
    @Autowired
    private HelloService helloService;

    @GetMapping("/list")
    public String ceshiHello2(){
        return helloService.ceshi("你好");
    }
}
